package com.yuda.campsite.mapper;

import com.yuda.campsite.domain.ShengHeStudnet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.*;

/**
 * @Author: xiaohudie
 * @Date: 2021/9/29 15:21
 * @Version: 1.8
 */
@Mapper
public interface ShengHeStudentMapper {
   /** 返回所有需要审核的同学*/
    public List<ShengHeStudnet> shenghetiaojian(@Param("campsiteId") String campsiteId,
                                                @Param("jiguanProvince") String jiguanProvince,
                                                @Param("jiguanCity") String jiguanCity,
                                                @Param("name") String name,
                                                @Param("qisi") Integer qisi,
                                                @Param("offset") Integer offset);
   /** 返回审核通过的学生接口*/
   public  List<ShengHeStudnet> shenghetongguo(@Param("campsiteId") String campsiteId,
                                                @Param("jiguanProvince") String jiguanProvince,
                                                @Param("jiguanCity") String jiguanCity,
                                                @Param("name") String name,
                                                @Param("qisi") Integer qisi,
                                                @Param("offset") Integer offset);
   /** 返回审核不通过学生接口*/
   public  List<ShengHeStudnet> shenghebutongguo(@Param("campsiteId") String campsiteId,
                                               @Param("jiguanProvince") String jiguanProvince,
                                               @Param("jiguanCity") String jiguanCity,
                                               @Param("name") String name,
                                               @Param("qisi") Integer qisi,
                                               @Param("offset") Integer offset);

  /** 查看个人报名人数接口*/
  public Integer chakanbaoming(@Param("name") String name);
  /** 审核不通过带原因接口*/
  public Integer failshenghe(@Param("examineReason") String examineReason,
                             @Param("idCard") String idCard,
                             @Param("campsiteId") String campsiteId);
 }
